package com.example.listener;

import com.rabbitmq.client.AMQP;
import com.rabbitmq.client.Envelope;

/**
 * @author chentao
 * @version 1.0
 * @description: TODO
 * @date 2025/3/18 下午10:00
 */
public interface MQMessageListener {

    default public void onMessage(MQMessageListener mqMessageListener, String consumerTag, Envelope envelope, AMQP.BasicProperties properties, byte[] body) throws Exception{

    }
}
